import 'package:ducafe_ui_core/ducafe_ui_core.dart';
import 'package:flutter_mes_app/common/index.dart';
import 'package:flutter_mes_app/main.dart';
import 'package:get/get.dart';

class BottomSheetController extends GetxController {
  BottomSheetController();

  _initData() {
    update(["bottom_sheet"]);
  }

  void onTap() {
    BottomSheetWidget.show(
      context: Get.context!,
      titleString: "国家",
      padding: 20,
      content: const TextWidget(text: "国家").height(
        200.h,
      ),
    );
  }

  // @override
  // void onInit() {
  //   super.onInit();
  // }

  @override
  void onReady() {
    super.onReady();
    _initData();
  }

  // @override
  // void onClose() {
  //   super.onClose();
  // }
}
